package cn.edu.heuet.bnve.remind;

import android.app.Activity;
import android.content.Intent;
import android.util.Log;

import cn.edu.heuet.bnve.model.Schedule;

/**
 * Created by abc-pc on 2020/3/21.
 * 发送广播
 */
public class SendAlarmBroadcast {

    public static void startAlarmService(Activity activity){
        Intent startAlarmServiceIntent = new Intent("AlarmServiceBroadcastreceiver");
//        startAlarmServiceIntent.putExtra("schedule",schedule);
        Log.i("wqs","通知设置了1");
        activity.sendBroadcast(startAlarmServiceIntent,null);
    }
}
